package main

import (
	"fmt"
)

type Person struct {
	name string
	age  int
	sex  bool
	like []string
}

func main() {
	var p Person
	p.name = "咔咔"

	p = Person{
		name: "咔咔",
		age:  0,
		sex:  false,
		like: []string{"coding"},
	}
	fmt.Println(p)

	// 返回是指针
	pPrt := new(Person)
	fmt.Println(pPrt)
}
